package com.qfedu.dao;

import com.qfedu.pojo.entity.User;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface AdminRepository extends JpaRepository<User, Integer> {
    User findByUserName(String userName);
}
